//
//  CZTestView.m
//  GZWeibo009
//
//  Created by gzxzmac on 16/3/21.
//  Copyright © 2016年 gzxzmac. All rights reserved.
//

#import "CZTestView.h"
#import <AFNetworking/AFNetworking.h>

@implementation CZTestView

//- (instancetype)initWithFrame:(CGRect)frame {
//    
//}

- (void)test {
//    [NSLog(<#NSString * _Nonnull format, ...#>)];
//    arc4random_uniform(<#u_int32_t#>)
    
//    [AFHTTPSessionManager manager] POST:nil parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData>  _Nonnull formData) {
//        [formData appendPartWithFileData:<#(nonnull NSData *)#> name:<#(nonnull NSString *)#> fileName:<#(nonnull NSString *)#> mimeType:<#(nonnull NSString *)#>]
//    } progress:<#^(NSProgress * _Nonnull uploadProgress)uploadProgress#> success:<#^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject)success#> failure:<#^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error)failure#>
//    
//    [AFHTTPSessionManager manager] POST:<#(nonnull NSString *)#> parameters:<#(nullable id)#> progress:<#^(NSProgress * _Nonnull uploadProgress)uploadProgress#> success:<#^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject)success#> failure:<#^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error)failure#>
    
}

static id instance = nil;
+ (instancetype)allocWithZone:(struct _NSZone *)zone {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [self allocWithZone:zone];
    });
    
    return instance;
}

- (id)copyWithZone:(NSZone *)zone {
    return instance;
}

//- (id)copyWithZone:(NSZone *)zone {
//    return instance;
//}

@end
